<div class="right">
	<div id="bread-nav" class="fn-clear">
		<ul>
			<li><a href="admin/home">后台首页</a></li>
			<li><a>静态页面添加</a></li>
		</ul>
	</div>
	<script type="text/javascript" src="ueditor/editor_config.js"></script>
	<script type="text/javascript" src="ueditor/editor_all.js"></script>
	<link rel="stylesheet" href="ueditor/themes/default/ueditor.css" />
	<div id="content" class="text-darkgrey">
		<h2>静态页面添加</h2>
		
		<?=form_open("admin/about/add/",$form)?>
			<p>静态页名：<input id="name" type="text" name="name" value="<?=set_value('name')?>"/>
			<?=form_error('name','<label>', '</label>')?></p>
			<p>分类：
				<select name="class" id="class">
					<option value="C" <?php if(set_value('class')=='C'):?>selected="selected"<?php endif;?>>纽斯达卡</option>
					<option value="A" <?php if(set_value('class')=='A'):?>selected="selected"<?php endif;?>>关于我们</option>
				</select>
			</p>
			<p>内容：
			<script type="text/plain" name="details" id="details"><?=$details?></script>
			<script type="text/javascript">
		    	var editor = new baidu.editor.ui.Editor();
		    	editor.render("details");
			</script>
			</p>
			<p><input type="submit" value="添加" class="submit"></p>
		</form>
	</div>
</div>